import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './mock/index.js'

import QRCode from 'qrcodejs2';
Vue.prototype.$qrCode = QRCode;

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

Vue.use(ElementUI)

import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';

Vue.use(Antd);

import Buefy from 'buefy'
import 'buefy/dist/buefy.css'

Vue.use(Buefy)

import Vuesax from 'vuesax'
import 'vuesax/dist/vuesax.css' //Vuesax styles
Vue.use(Vuesax, {
    // options here
})

import 'boxicons/css/boxicons.min.css'

import axios from "axios";

axios.defaults.withCredentials = true;
Vue.prototype.$http = axios

Vue.config.productionTip = false

new Vue({
    router,
    render: h => h(App)
}).$mount('#app')
